package cn.chiship.framework.upms.biz.user.mapper;

import cn.chiship.framework.upms.biz.user.entity.UpmsOrganizationExample;
import cn.chiship.sdk.framework.base.BaseMapper;
import cn.chiship.framework.upms.biz.user.entity.UpmsOrganization;

/**
 * 组织机构mapper
 *
 * @author lj
 */
public interface UpmsOrganizationMapper extends BaseMapper<UpmsOrganization, UpmsOrganizationExample> {
    /**
     * 根据父级获取最大组织编码
     * @param pid
     * @return
     */
    String getMaxOrgCodeByPid(String pid);
}